package com.jade.zsy.finance.vo;

import com.jade.bss.base.utils.EntityVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 收支科目
 * User: jinya
 * Date: 2017/6/3
 * Time: 14:57
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@ApiModel(value ="收支条目")
public class FinItemVo extends EntityVo {
    @ApiModelProperty(value = "上级编号",required = true)
    private long parentId=0;
    @ApiModelProperty(value = "编码",required = true)
    private String code;
    @ApiModelProperty(value = "名称",required = true)
    private String name;
    @ApiModelProperty(value = "排序",required = true)
    private int sequence=0;
    @ApiModelProperty(value = "类型",required = true,example = "0:收入 9：支出")
    private int type;
    @ApiModelProperty(value = "备注",required = false)
    private String remark;

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSequence() {
        return sequence;
    }

    public void setSequence(int sequence) {
        this.sequence = sequence;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


}
